package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "MoveResponse")
public class MoveResponse extends Command {

	@XmlElement
	private String reason;
	@XmlElement(required = true)
	private int checkMove;
	
	public MoveResponse() {
		id = 5;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getCheckMove() {
		return checkMove;
	}

	public void setCheckMove(int checkMove) {
		this.checkMove = checkMove;
	}

}
